package com.humble.humbleojmodel.model.judge;/*
  humble keep gonging
*/


import com.humble.humbleojmodel.model.dto.Question.JudgeConfig;
import com.humble.humbleojmodel.model.dto.QuestionSubmit.JudgeInfo;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class JudgeContext {
    /**
     * 提交Id用于更新状态
     */
    private Long questionSubmitId;

    /**
     * 题目提交语言
     */
    private String language;

    /**
     * 标准输出（答案）
     */
    private List<String> standardOutputList;

    /**
     * 沙箱输出
     */
    private List<String> outputList;

    /**
     * 题目限制
     */
    private JudgeConfig judgeConfig;

    /**
     * 沙箱执行消耗
     */
    private JudgeInfo judgeInfo;

    /**
     * 判题状态
     */
    private Integer responseStatus;

    /**
     * 沙箱返回错误信息
     */
    private String executeCodeErrorMessage;
}
